/*
 * @Descripttion: vue and node-bs
 * @Author: weijunliang-jul
 * @Date: 2021-02-24 18:50:09
 * @LastEditors: weijunliang-jul
 * @LastEditTime: 2021-03-08 16:09:01
 */
import request from '@/utils/request'

// 未读转已读
export function goyidu(n_id) {
    return request({
        url: '/students/goyidu',
        method: "get",
        params: {
            n_id: n_id,
        },
    })
}

// 获取的我通知已读列表(供已读未读状态渲染)
export function getNoticeRead() {
    return request({
        url: '/students/getNoticeRead',
        method: "get"
    })
}

// 我的通知分页获取数据与数量
export function getNotice(pageNum, currPage) {
    return request({
        url: "/students/getNotice",
        method: "get",
        params: {
          pageNum: pageNum,
          currPage: currPage - 1,
        },
    })
}

